<%@ page import="com.zzty.wja.entity.User" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>自在天工</title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.1.0/css/bootstrap.min.css">
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/popper.js/1.12.5/umd/popper.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="../css/style.default.css" type="text/css" />
    <script type="text/javascript" src="../js/jquery-1.7.min.js"></script>
    <script type="text/javascript" src="../js/jquery-ui-1.8.16.custom.min.js"></script>
    <script type="text/javascript" src="../js/jquery.cookie.js"></script>
    <script type="text/javascript" src="../js/jquery.alerts.js"></script>
    <script type="text/javascript" src="../js/jquery.uniform.min.js"></script>
    <script type="text/javascript" src="../js/general.js"></script>
    <script type="text/javascript" src="../js/blog.js"></script>
    <!--[if lte IE 8]><script language="javascript" type="text/javascript" src="js/plugins/excanvas.min.js"></script><![endif]-->
    <!--[if IE 9]>
    <link rel="stylesheet" media="screen" href="../css/style.ie9.css"/>
    <![endif]-->
    <!--[if IE 8]>
    <link rel="stylesheet" media="screen" href="../css/style.ie8.css"/>
    <![endif]-->
    <!--[if lt IE 9]>
    <script src="../js/css3-mediaqueries.js"></script>
    <![endif]-->
</head>

<body class="withvernav">
<div class="bodywrapper">
    <div class="topheader">
        <div class="left">
            <h1 class="logo"><span>ZZTY</span></h1>
            <span class="slogan">自在天原学习系统</span>
            <br clear="all" />

        </div><!--left-->


            <% User user=(User)session.getAttribute("user");
        %>
        <div class="right">
            <%--<div class="userinfo">--%>
                <%--<iframe name="weather_inc" src="http://i.tianqi.com/index.php?c=code&id=2&num=3" width="440" height="70" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>--%>
            <%--</div>--%>
            <div class="userinfo">
                <img src="../images/thumbs/avatar.png" alt="" width="25" height="25"/>
                <span><%=user.getName()%></span>
            </div><!--userinfo-->
            <div class="userinfodrop">
                <div class="avatar">
                    <a href=""><img src="../images/thumbs/avatarbig.png" alt="" /></a>
                </div><!--avatar-->
                <div class="userdata">
                    <ul>
                        <li>名字:<%=user.getName()%></li>
                        <li>班级:java<%=user.getClazzId()%>班</li>
                        <li>邮箱:<%=user.getEmail()%></li>
                        <li>类型:<%=user.getType()%></li>
                        <li><a href="/change">修改信息</a></li>
                        <li><a href="/login">退出</a></li>
                    </ul>
                </div><!--userdata-->
            </div><!--userinfodrop-->
        </div><!--right-->
    </div><!--topheader-->


    <div class="header">
        <ul class="headermenu">
            <li class="current"><a href="Smain"><span class="icon icon-flatscreen"></span>首页</a></li>
            <li><a href="todayTeamExam.jsp"><span class="icon icon-pencil"></span>结对</a></li>
            <li><a href="todayExam.jsp"><span class="icon icon-message"></span>竞赛</a></li>
            <li><a href="share1.jsp"><span class="icon icon-chart"></span>课堂分享</a></li>
            <li>
                <iframe name="weather_inc" src="http://i.tianqi.com/index.php?c=code&id=2&num=1"
                        width="220" height="70" frameborder="0" marginwidth="0" marginheight="0" scrolling="no">
                </iframe>
            </li>
        </ul>

    </div><!--header-->

    <div class="vernav">
        <ul>
            <li class="current"><a href="todayTeamExam.jsp" class="editor">结对</a></li>
            <li><a href="todayExam.jsp">竞赛</a></li>
            <li><a href="share1.jsp">课堂分享</a></li>
        </ul>
        <a class="togglemenu"></a>
    </div><!--leftmenu-->

    <div class="centercontent">
        <div class="pageheader">
            <div class="left">
                <h2>常用网站</h2>
                <div class="list-group" align="center">
                    <a href="http://www.baidu.com" target="_blank" class="list-group-item list-group-item-action">
                        百度
                    </a>
                    <a href="http://www.google.com" target="_blank" class="list-group-item list-group-item-action">
                        谷歌
                    </a>
                    <a href="http://www.w3cschool.cn" target="_blank" class="list-group-item list-group-item-action">
                        w3c
                    </a>
                    <a href="http://www.runoob.com/" target="_blank" class="list-group-item list-group-item-action">
                        菜鸟教程
                    </a>
                    <a href="https://www.oschina.net/" target="_blank" class="list-group-item list-group-item-action">
                        开源中国
                    </a>
                    <a href="https://www.csdn.net/" target="_blank" target="_blank" class="list-group-item list-group-item-action">
                        CSDN
                    </a>
                    <a href="https://www.cnblogs.com/" target="_blank" class="list-group-item list-group-item-action">
                        cnblogs
                    </a>
                    <a href="http://www.iteye.com/" target="_blank" class="list-group-item list-group-item-action">
                        iteye
                    <a href="http://www.jikexueyuan.com/" target="_blank" class="list-group-item list-group-item-action">
                        极客学院
                    </a>
                </div>

            </div>

        </div><!--pageheader-->

        <div id="contentwrapper" class="contentwrapper">
            <!--add you page at here-->
            <!--add you page at here-->
            <!--add you page at here-->
            <!--add you page at here-->
            <!--add you page at here-->
            <!--add you page at here-->

        </div><!--contentwrapper-->

        <br clear="all" />

    </div><!-- centercontent -->


</div><!--bodywrapper-->

</body>
</html>
